<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="menu" content="superviseMenu" />
<meta name="nav" content="2" />
<meta name="acc" content="0" />
<title>交工检测</title>
<script type="text/javascript">
	function close() {
		$.window.closeAll();
	}
	function dele(id){
		$.get("${ctx}/business/detn/issue!dele.action", {
			id : id
		}, function(data) {
			$("#"+id).hide();
		});
	}
</script>
</head>
<body>
	<div id="message">
		<s:actionmessage theme="custom" cssClass="success" />
	</div>
	<form action="${ctx }/business/detn/issue.action" id="mainForm"
		method="post">
		<div>
			<table class="noborder">
				<tr class="type-text">
					<th>问题类型</th>
					<th>概要描述</th>
					<th>处理措施</th>
					<th>处理时间</th>
					<th>操作</th>
				</tr>
				<c:forEach items="${detnIssues}" var="issue">
					<tr class="type-text" id="${issue.id}">
						<td><pt:code category="3011" code="${issue.type }"></pt:code></td>
						<td>${issue.content }</td>
						<td>${issue.dealContent }</td>
						<td><fmt:formatDate value="${issue.dealDate }"
								pattern="yyyy-MM-dd" /></td>
						<td><a id="a_submit"
							href="javascript:showWindow('编辑审查情况','${ctx}/business/detn/issue!input.action?id=${issue.id }&decorator=open&confirm=true');">编辑</a>
							<a href="javascript:dele('${issue.id}')">删除</a></td>
					</tr>
				</c:forEach>
			</table>
		</div>
	</form>
</body>
</html>